<#assign path="${springMacroRequestContext.getContextPath()}">
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>课程信息管理系统</title>
    <meta name="keywords" />
    <meta name="description" />
    <meta name="author" content="DeathGhost" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <link rel="icon" href="${path}/static/images/icon/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="${path}/static/css/style.css" />
    <script src="${path}/static/javascript/jquery.js"></script>
    <script src="${path}/static/javascript/plug-ins/customScrollbar.min.js"></script>
    <script src="${path}/static/javascript/plug-ins/echarts.min.js"></script>
    <script src="${path}/static/javascript/plug-ins/layerUi/layer.js"></script>
    <script src="${path}/static/editor/ueditor.config.js"></script>
    <script src="${path}/static/editor/ueditor.all.js"></script>
    <script src="${path}/static/javascript/plug-ins/pagination.js"></script>
    <script src="${path}/static/javascript/public.js"></script>
    <script src="${path}/static/javascript/menu.js"></script>
</head>
<style type="text/css">
    .kd {
        padding-left: 5px
    }

    .inputcs {
        width: 300px
    }

    .btncs {

    }
</style>
<body>
<div class="main-wrap">
    <input type="hidden" id="power222" name="power" value="${Session["power"]}" >
    <div class="side-nav">
        <div class="side-logo">
            <div class="logo">

            <span class="logo-ico"> <i class="i-l-1"></i>
					<i class="i-l-2"></i> <i class="i-l-3"></i>
					</span> <strong>课程信息管理系统</strong>
            </div>
        </div>

        <nav id="nav" class="side-menu content mCustomScrollbar" data-mcs-theme="minimal-dark">
            <h2>
                <a href="${path}/User/Main" class="InitialPage"><i class="icon-dashboard"></i>首页</a>
            </h2>
            <ul>
                <li>
                    <dl>
                        <dt id="1100">
                            <i class="icon-columns"></i>基础信息管理<i class="icon-angle-right"></i>
                        </dt>
                        <dd id="1101">
                            <a href="${path}/User/teacher">教师信息管理</a>
                        </dd>
                        <dd id="1102">
                            <a href="${path}/User/student">学生信息管理</a>
                        </dd>
                        <dd id="1103">
                            <a href="${path}/Course/queryAll">课程信息管理</a>
                        </dd>
                    </dl>
                </li>
                <li>
                    <dl>
                        <dt id="1200">
                            <i class="icon-list-alt"></i>公告管理<i class="icon-angle-right"></i>
                        </dt>
                        <dd id="1201">
                            <a href="${path}/Notice/add">发布公告</a>
                        </dd>
                        <dd id="1202">
                            <a href="${path}/Notice/modify">公告修改</a>
                        </dd>
                        <dd id="1203">
                            <a href="${path}/Notice/delete">公告删除</a>
                        </dd>
                    </dl>
                </li>
                <li class="open">
                    <dl>
                        <dt id="1300">
                            <i  class="icon-table"></i>课程管理<i class="icon-angle-right"></i>
                        </dt>
                        <dd id="1301">
                            <a href="${path}/Course/teacher">教师排课</a>
                        </dd>
                        <dd id="1302">
                            <a href="${path}/Course/student">学生选课</a>
                        </dd>
                        <dd id="1303">
                            <a href="${path}/Course/view">课表查看</a>
                        </dd>
                        <dd id="1304">
                            <a href="${path}/Course/suggeetion">学生反馈</a>
                        </dd>
                    </dl>
                </li>
                <li  >
                    <dl>
                        <dt id="1400">
                            <i class="icon-bar-chart"></i>成绩信息<i class="icon-angle-right"></i>
                        </dt>
                        <dd id="1401">
                            <a href="${path}/Course/upload">上传成绩</a>
                        </dd>
                        <dd id="1402">
                            <a href="${path}/Course/queryCourse">成绩查询</a>
                        </dd>
                    </dl>
                </li>
                <li>
                    <dl>
                        <dt id="1500">
                            <i class="icon-external-link"></i>系统设置<i class="icon-angle-right"></i>
                        </dt>
                        <dd id="1501">
                            <a href="${path}/Role/queryAll">角色管理</a>
                        </dd>
                        <dd id="1502">
                            <a href="${path}/User/changePa">修改密码</a>
                        </dd>
                    </dl>
                </li>
            </ul>
        </nav>
        <footer class="side-footer">© DeathGhost 版权所有</footer>
    </div>
    <div class="content-wrap">
        <header class="top-hd">
            <div class="hd-lt">
                <a class="icon-reorder"></a>
            </div>
            <div class="hd-rt">
                <ul>
                    <li>
                        <a><i class="icon-user"></i>系统时间:<em>${Session["time"]}</em></a>
                    </li>
                    <li>
                        <a><i class="icon-user"></i>${Session["roleName"]}:<em>${Session["user"].name}</em></a>
                    </li>
                    <li>
                        <a onclick="quit();" ><i class="icon-signout"></i>安全退出</a>
                    </li>
                </ul>
            </div>
        </header>
        <main class="main-cont content mCustomScrollbar"> <!--开始::内容-->
            <div class="page-wrap">
                <section class="page-hd">
                    <header>
                        <h2 class="title">课表查看</h2>
                    </header>
                    <hr>
                </section>
                <table class="table table-bordered table-striped table-hover">
                    <thead>
                    <tr>
                        <th>姓名</th>
                        <th>授课教师</th>
                        <th>课程名称</th>
                        <th>上课时间</th>
                        <th>上课教室</th>
                    </tr>
                    </thead>
                    <tbody>

                    <#if list?exists>
                        <#list list as user>
                            <tr class="cen">
                            <td>${user["name"]!}</td>
                            <td> ${user["courseteacher"]!}</td>
                            <td> ${user["coursename"]!}</td>
                            <td> ${user["coursedate"]!}</td>
                            <td> ${user["courseroom"]!}</td>
                            </tr>
                        </#list>
                    </#if>

                    </tbody>
                </table>

            </div>
        </main>
        <footer class="btm-ft">
            <p class="clear">
                <span class="fl">©Copyright 2016</span> <span class="fr text-info">
						<em class="uppercase"> <i class="icon-user"></i> management
							system
					</em>
					</span>
            </p>
        </footer>
    </div>
</div>
<div class="mask"></div>

<div class="panel panel-default">
    <!--<div class="panel-hd">按钮</div>-->
    <div class="panel-bd">
        <button id="btnModify" class="btn btn-info JopenMaskPanel mr-10"></button>
    </div>
</div>


</body>
<script type="text/javascript">
    function quit(){
        if(confirm("你确定要退出登陆吗？")){
            window.location.href = "${path}/User/quit";
        }
    }
    //添加展示
</script>
</html>
